Skip to main content

addDataAfter

Type

property

Summary

A method for adding data to the table.

Syntax

set the addDataAfter of widget to <List>

Description

Use the addDataAfter property to insert new data to the PolyGrid widget after the specified row by pgInternalPointer If you get the value of addDataAfter property it will always return empty.

Examples

-- Adds two new items to the content of the table after the row 5
local tDataToAdd
put "One" into tDataToAdd[1]["col 1"]
put "Two" into tDataToAdd[2]["col 1"]
set the pgInternalPointer of widget "PolyGrid" to 5
set the addDataAfter of widget "PolyGrid" to tDataToAdd

property: pgInternalPointer, addDataBefore, addData, pgData